<template>
  <i class="iconfont" v-html="iconfont"></i>
</template>

<script>
import FonOption from './FontOption'

export default {
  name: 'MartinFont',
  data() {
    return {
      iconfont: ''
    }
  },
  mounted() {
    this.iconfont = FonOption[this.$el.className.split(' ')[1]]
  }
}
</script>
